<template>
  <div>
    父组件：<input type="text" v-model="msg">
    <br>
    子组件：<customInput :chuanzhi="msg" @input='changeInput'></customInput>
  </div>
</template>

<script>
import customInput from '@/components/HelloChild/Children3.vue'

export default {
  data () {
    return {
      msg: 'value'
    }
  },
  components: {
    customInput
  },
  methods: {
    changeInput (changeInput) {
      this.msg = changeInput
    }
  }
}
</script>
